<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        console.log("打印100以内7的倍数");
        var a=1;
        do{
            if(a%7==0){
                console.log(a);
            }
            a++;
        }while(a<=100);


        console.log("打印100以内的奇数");
        var b=0;
        do{
            if(b%2!=0){
                console.log(b);
            }
            b++;
        }while(b<=100);

        console.log("打印100以内所有偶数的和");
        var c=0;
        var d=0;
        do{
            if(c%2==0){
                d=d+c;
            }
            c++;
        }while(c<=100);
        console.log(d);

    </script>
</body>
</html>